<title>Causado</title>
<link href="estilacho.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo1 {color: #000000}
a:link {
	color: #993300;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #993300;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
	color: #FF0000;
}
.Estilo4 {border-width: 1}
.Estilo5 {font-size: 10px}
.Estilo7 {color: #666666}
-->
</style>
<BODY> 
<?
include 'conexion.php';
extract($_POST);
    extract($_GET);
/*    $base= "ucg - copia";
	$conexion = mysql_connect("localhost","root","");
	mysql_select_db($base,$conexion);	*/
	$resultado=mysql_query("SELECT * FROM causado WHERE cod_causa='$Modificar'",$conexion);

	$registro = mysql_fetch_array($resultado);
	?>
<form name="form1" method="post" action="modificar_causado.php">
<input name="ano" type="hidden" value="<? echo $ano  ?>">
  <table border="0" align="center" class="tablainstitucion">
<? echo "<input type=hidden name='Modificar' value='$Modificar'>";?>
    <tr bordercolor="#FFFFFF" bgcolor="#000000">
      <th colspan="4" align="center" valign="middle" bgcolor="#FFFFFF">MODIFICAR Y  CONSULTAR PROVEEDOR</th>
    </tr>
    <tr bordercolor="#FFFFFF" bgcolor="#000000">
      <td width="215" align="center" valign="middle" bgcolor="#FFFFFF">CODIGO</td>
      <td width="235" align="center" valign="middle" bgcolor="#FFFFFF">FECHA</td>
      <td width="119" align="center" valign="middle" bgcolor="#FFFFFF">FACTURA N&ordm;</td>
      <td width="163" align="center" valign="middle" bgcolor="#FFFFFF">FACTURA CONTROL N&ordm;</td>
    </tr>
    <tr>
      <td align="center" valign="middle"> <input name="rif" type="text" class="entrada" value="<? echo $registro[0]; ?>" size="20" disabled>
        <? echo "<input type=hidden name='rif' value='$registro[2]'>";?></td>
      <td align="center" valign="middle"><input name="fecha" type="text" class="entrada" id="fecha" value="<? echo $registro[1]; ?>" size="40"></td>
      <td align="center" valign="middle"><input name="dueno" type="text" class="entrada" value="<? echo $registro[3]; ?>" size="20"></td>
      <td align="center" valign="middle"><input name="razon" type="text" class="entrada" value="<? echo $registro[4]; ?>" size="20"></td>
    </tr>
  </table>
  <div align="center">
    <input name="proveedor" type="submit" class="boton" id="proveedor" value="Modificar Causado">
  </div>
</form>
<div align="center">
  <a href="consulta_causa1.php?<? echo 'ano='.$ano; ?>">Regresar</a>  </div>
</BODY>
 </HTML>

